home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr47 / fn32_3.zip / CUT.DOC < prev    next >
Text File  |  1993-02-07  |  1KB  |  24 lines

  1. Usage: cut {-b byte-list,+bytes byte-list} [-n] [file...]
  2.        cut {-c character-list,+characters character-list} [file...]
  3.        cut {-f field-list,+fields field-list} [-d delim] [-s]
  4.         [+delimiter delim] [+only-delimited] [file...]
  5.  Options:
  6.  +bytes byte-list
  7.  -b byte-list Print only the bytes in positions listed in BYTE-LIST.
  8.               Tabs and backspaces are treated like any other character.
  9.  +characters character-list
  10.  -c character-list Print only characters in positions listed in CHARACTER-LIST.
  11.                    The same as -b for now, but internationalization will change
  12.                    that. Tabs and backspaces are treated like any other char.
  13.  +fields field-list
  14.  -f field-list  Print only the fields listed in FIELD-LIST.
  15.                 Fields are separated by a TAB by default.
  16.  +delimiter delim
  17.  -d delim       For -f, fields are separated by the first character in DELIM.
  18.  -n             Do not split multibyte chars (no-op for now).
  19.  +only-delimited
  20.  -s  For -f, do not print lines that do not contain the field separator char.
  21.  The BYTE-LIST, CHARACTER-LIST, and FIELD-LIST are one or more numbers
  22.  or ranges separated by commas.  The first byte, character, and field
  23.  are numbered 1. A FILE of `-' means standard input.
  24.